﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="News.aspx.cs" Inherits="LTHD_Web.News2aspx" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
 <link href="Styles/vnexpress-dulich.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="~/Styles/Style.css" />
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
    <script src="http://www.google.com/jsapi" type="text/javascript"></script>
    <script type="text/javascript" src="Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="Scripts/jquery-latest.js"></script>
    <script type="text/javascript" src="Scripts/ajax.js"></script>
    <script type="text/javascript" src="Scripts/search.js"></script>
    <script type="text/javascript" src="Scripts/ajax_jqueryApp.js"></script>

    <script src="Scripts/comment.js" type="text/javascript"></script>
    <script type="text/javascript">
        function loadlink(link) {
            //document.getElementById("thenews").innerHTML = link;
            var xmlhttp;

            if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
                xmlhttp = new XMLHttpRequest();
            }
            else {// code for IE6, IE5
                xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
            }
            xmlhttp.onreadystatechange = function () {
                if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
                    document.getElementById("thenews").innerHTML = xmlhttp.responseText ;
                }
            }
            xmlhttp.open("GET", "Loadnews.aspx?link=" + link, true);
            xmlhttp.send();
        }
    </script>
</head>
<!--onload="movemaps('ĐH KHTN', 4, 10.762685, 106.682267, 1)"-->
<body style="background-color:#f4f5f6">
    <form id="form1" runat="server">
    <div id="mypage"  style="height:100px">
        <div id="header_menu">
            <div id="header_menu_left">
                <ul>
                    <div id="Home">
                        <li><a onclick="movemaps('ĐH KHTN', 4, 10.762685, 106.682267, 1,0)" href="Default.aspx">Home</a></li>
                    </div>
                    <div id="News">
                        <li><a href="#" style="font-weight:bold; color:Orange;">News </a></li>
                    </div>
                    <div id="Search">
                        <li><a href="searchresult.aspx">Search</a></li>
                    </div>
                     <div id="Myplace" >
                        <li><a href="Myplace.aspx" >My Place</a></li>
                    </div>
                    <div id="about_us">
                        <li><a href="About.aspx">About </a></li>
                    </div>
                </ul>
            </div>
            <!--<div id="head_center_search">
                <form id="searcher">
                <table>
                    <td class="search-form" style="width: 400px;">
                        <div id="searchform">
                            Loading</div>
                    </td>
                </table>
                </form>
            </div>
            -->
            <div id="login">
                <ul>
                    <% if (Request.Cookies["userName"] == null)
                       { %>
                    <li><a href="LoginandRegistery.aspx">Register</a></li>
                    <li><a href="LoginandRegistery.aspx">Sign In</a></li>
                    <% }
                       else
                       {%>
                    <span id="logout">
                    <li><a href="Logout.aspx">Log out</a></li>
                        <li><span style="font-weight:bold; color:Green;"> <asp:Label ID="lb_taikhoan" runat="server" Text="Label"></asp:Label></span></li>
                        
                    </span>
                    <% } %>
                </ul>
            </div>
        </div>
        <div id="header_search" style="padding-top:7px; ">
        <div style="width:900px;">
            <div style="width:150px; float:left; font-weight:bold; font-size: 25px; color:Gray; font-family:Tahoma; padding-left:25px;" > My Places</div>
            <!--<asp:Label ID="Label1" runat="server" Text="My Google Maps  " Font-Bold="True" Font-Size="30px"
                CssClass="label"></asp:Label>
                -->
               <div style=" ; width:550px; height:35px; float:left"><input type="text" name="tbsearch" id = "tbsearch" style="width:99%; height:29px;"/></div>
            <div class="search-button" title="Search Maps" style="padding-top:2px; cursor:pointer;" onclick="search2()">             <img src="Images/btsearch.jpg">   </div>
            <!--<asp:Button ID="btSearch" runat="server" Height="30px" Text="Search" Width="89px"
                CssClass="btSearch" />
                -->
            <!--
            <span id="control_search">
                <input class="search-button" title="Search Maps" type="submit" value="Search" id="btsearch1" name="btsearch1"/> 
                </span>-->
                </div>
        </div>
        
    </div>

    <div id="maincontent1" style="background-color:#f4f5f6">
            <div class="content-center" style="width:550px; float:left">			
    <div style="margin-left:50px">
        
    <asp:Label ID="lb_test" runat="server" Text="Label"></asp:Label>
    </div>
</div>
  <div class="content-center" style="width:550px; float:left; margin-left:20px;" id="thenews">	
  </div>
        </div>
        <br />
    <br /><br /><br />
    <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=154192171357744&amp;xfbml=10"></script><fb:comments xid="154192171357744" width="560"></fb:comments>
    </form>
</body>
</html>
